package com.tadpole.music.bean.me;

import java.util.List;

/**
 * Created By 孙岩
 * on 2021/1/10
 */
public class MyPointListBean {

    /**
     * code : 200
     * data : {"current_page":1,"total":5,"data":[{"created_at":"2021-01-06 14:08:06","user_id":0,"incr":true,"num":5,"source":1,"source_alias":"签到获得积分"},{"created_at":"2021-01-06 14:07:13","user_id":0,"incr":true,"num":20,"source":1,"source_alias":"签到获得积分"},{"created_at":"2021-01-06 14:05:35","user_id":0,"incr":true,"num":5,"source":1,"source_alias":"签到获得积分"},{"created_at":"2021-01-06 14:04:17","user_id":0,"incr":true,"num":5,"source":1,"source_alias":"签到获得积分"},{"created_at":"2021-01-06 14:01:14","user_id":0,"incr":true,"num":5,"source":1,"source_alias":"签到获得积分"}],"per_page":10,"last_page":1}
     * msg : ok
     */

    private int code;
    private DataBeanX data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBeanX {
        /**
         * current_page : 1
         * total : 5
         * data : [{"created_at":"2021-01-06 14:08:06","user_id":0,"incr":true,"num":5,"source":1,"source_alias":"签到获得积分"},{"created_at":"2021-01-06 14:07:13","user_id":0,"incr":true,"num":20,"source":1,"source_alias":"签到获得积分"},{"created_at":"2021-01-06 14:05:35","user_id":0,"incr":true,"num":5,"source":1,"source_alias":"签到获得积分"},{"created_at":"2021-01-06 14:04:17","user_id":0,"incr":true,"num":5,"source":1,"source_alias":"签到获得积分"},{"created_at":"2021-01-06 14:01:14","user_id":0,"incr":true,"num":5,"source":1,"source_alias":"签到获得积分"}]
         * per_page : 10
         * last_page : 1
         */

        private int current_page;
        private int total;
        private int per_page;
        private int last_page;
        private List<DataBean> data;

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPer_page() {
            return per_page;
        }

        public void setPer_page(int per_page) {
            this.per_page = per_page;
        }

        public int getLast_page() {
            return last_page;
        }

        public void setLast_page(int last_page) {
            this.last_page = last_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * created_at : 2021-01-06 14:08:06
             * user_id : 0
             * incr : true
             * num : 5
             * source : 1
             * source_alias : 签到获得积分
             */

            private String created_at;
            private int user_id;
            private boolean incr;
            private int num;
            private int source;
            private String source_alias;

            public DataBean(String created_at, int user_id, boolean incr, int num, int source, String source_alias) {
                this.created_at = created_at;
                this.user_id = user_id;
                this.incr = incr;
                this.num = num;
                this.source = source;
                this.source_alias = source_alias;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public int getUser_id() {
                return user_id;
            }

            public void setUser_id(int user_id) {
                this.user_id = user_id;
            }

            public boolean isIncr() {
                return incr;
            }

            public void setIncr(boolean incr) {
                this.incr = incr;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public int getSource() {
                return source;
            }

            public void setSource(int source) {
                this.source = source;
            }

            public String getSource_alias() {
                return source_alias;
            }

            public void setSource_alias(String source_alias) {
                this.source_alias = source_alias;
            }
        }
    }
}
